package com.etc.entity;

public class Bus {

	private int b_id;
	private int b_begin;
	private int b_end;
	private int b_price;
	private int m_id;
	public int getB_id() {
		return b_id;
	}
	public void setB_id(int b_id) {
		this.b_id = b_id;
	}
	public int getB_begin() {
		return b_begin;
	}
	public void setB_begin(int b_begin) {
		this.b_begin = b_begin;
	}
	public int getB_end() {
		return b_end;
	}
	public void setB_end(int b_end) {
		this.b_end = b_end;
	}
	public int getB_price() {
		return b_price;
	}
	public void setB_price(int b_price) {
		this.b_price = b_price;
	}
	public int getM_id() {
		return m_id;
	}
	public void setM_id(int m_id) {
		this.m_id = m_id;
	}
	@Override
	public String toString() {
		return "Bus [b_id=" + b_id + ", b_begin=" + b_begin + ", b_end=" + b_end + ", b_price=" + b_price + ", m_id="
				+ m_id + "]";
	}
	public Bus(int b_id, int b_begin, int b_end, int b_price, int m_id) {
		super();
		this.b_id = b_id;
		this.b_begin = b_begin;
		this.b_end = b_end;
		this.b_price = b_price;
		this.m_id = m_id;
	}
	public Bus(int b_begin, int b_end, int b_price, int m_id) {
		super();
		this.b_begin = b_begin;
		this.b_end = b_end;
		this.b_price = b_price;
		this.m_id = m_id;
	}
	
	public Bus(int b_begin, int b_end, int m_id) {
		super();
		this.b_begin = b_begin;
		this.b_end = b_end;
		this.m_id = m_id;
	}	
	public Bus() {
		super();
	}
	
}
